﻿Imports DAO
Imports DTO
Public Class GiaTriDinhSanBUS
    'Ham lay gia tri trong bang GiaTriDinhSan
    Public Function LayGiaTriDinhSan() As GiaTriDinhSanDTO
        Dim gtdsDAO As New GiaTriDinhSanDAO()
        Return gtdsDAO.LayGiaTriDinhSan()
    End Function
    'Ham update gia tri dinh san
    Public Function CapNhatGiaTri(ByVal gtdsDTO As GiaTriDinhSanDTO) As Integer
        Dim gtdsDAO As New GiaTriDinhSanDAO()
        Return gtdsDAO.CapNhatGiaTri(gtdsDTO)
    End Function
End Class
